home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in.3</name>
- <id>-1</id>
- <cardCount>6</cardCount>
- <cardID>2830</cardID>
- <listID>5165</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on openStack
- global DefaultLoudness
- put getVolume() into DefaultLoudness
- Volume 3
- if the userLevel < 3 then set userLevel to 3
- set the textArrows to true
- hide message box
- if the top of card window <= 30 then hide menuBar
- delete menu "Edit"
- delete menu "Go"
- delete menu "Tools"
- delete menu "Objects"
- delete menu "Font"
- delete menu "Style"
- CustomMenu
- if the version of HyperCard < 2 then
- answer "Sorry, HyperCard 2.0 or later is required."
- doMenu "Quit HyperCard"
- end if
- end openStack
-
- on closeStack
- global DefaultLoudness
- if freeSize of this stack >= 20000 then
- put "Compacting Stack... ("& ¬
- freeSize of this stack&" of "&size of this stack&")"
- doMenu "Compact Stack"
- put empty
- end if
- hide message box
- reset menuBar
- show menuBar
- Volume DefaultLoudness
- end closeStack
-
- on CustomMenu
- if there is no menu "Machine" then create menu "Machine"
- put "Run,Step" into menu "Machine" with menuMsgs "RunMachine,StepMachine"
- put "-" after menuItem 2 of menu "Machine"
- repeat with N = 1 to number of cards in background "Machine"
- put background field "MachineTitle" ¬
- of card N of background "Machine" ¬
- after menuItem 2+N of menu "Machine"
- end repeat
- set commandChar of menuItem 1 of menu "Machine" to "R"
- set commandChar of menuItem 2 of menu "Machine" to "S"
- end CustomMenu
-
- on doMenu item,menu
- if (menu = "Machine") and (item <> "Run") and (item <> "Step") then
- repeat with N = 1 to number of cards in background "Machine"
- if item = background field "MachineTitle" ¬
- of card N of background "Machine" then
- visual effect scroll up
- go card N of background "Machine"
- exit repeat
- end if
- end repeat
- else
- pass doMenu
- end if
- end doMenu
- </script>
- <background id="2320" file="background_2320.xml" name="Help" />
- <background id="2571" file="background_2571.xml" name="Machine" />
- <background id="5546" file="background_5546.xml" name="InfoBackground" />
- <background id="5653" file="background_5653.xml" name="Black" />
- <card id="2830" file="card_2830.xml" marked="false" name="" owner="2571" />
- <card id="3586" file="card_3586.xml" marked="false" name="" owner="2571" />
- <card id="4110" file="card_4110.xml" marked="false" name="" owner="2571" />
- <card id="5916" file="card_5916.xml" marked="false" name="" owner="5653" />
- <card id="4546" file="card_4546.xml" marked="false" name="" owner="2320" />
- <card id="6257" file="card_6257.xml" marked="false" name="" owner="5546" />
- </stack>
-